﻿Jxstar.currentPage = function() {
	var config = {param:{},initpage:function(page, define){},eventcfg:{}};

	var cols = [
	{col:{header:'*供应商名称', width:191, sortable:true, editable:true, hcss:'color:#0000ff;',
		editor:new Ext.form.TriggerField({
			maxLength:50,
			editable:false, allowBlank:false,
			triggerClass:'x-form-search-trigger', 
			onTriggerClick: function() {
				var selcfg = {pageType:'combogrid', nodeId:'provider_select', layoutPage:'', sourceField:'provider.provider_name;provider_id', targetField:'pur_say_price.provider_name;provider_id', whereSql:"manage_status = '20'", whereValue:'', whereType:'', isSame:'0', isShowData:'1', isMoreSelect:'0',isReadonly:'1',fieldName:'pur_say_price.provider_name'};
				JxSelect.createSelectWin(selcfg, this, 'node_pur_say_price_editgrid');
			}
		})}, field:{name:'pur_say_price__provider_name',type:'string'}},
	{col:{header:'*报价(万元)', width:100, sortable:true, align:'right',
		editable:true, hcss:'color:#0000ff;',
		editor:new Ext.form.NumberField({
			decimalPrecision:6, maxLength:12, allowBlank:false
		}),renderer:JxUtil.formatNumber(6)}, field:{name:'pur_say_price__provider_price',type:'float'}},
	{col:{header:'*谈判价(万元)', width:100, sortable:true, align:'right',
		editable:true, hcss:'color:#0000ff;',
		editor:new Ext.form.NumberField({
			decimalPrecision:6, maxLength:12, allowBlank:false
		}),renderer:JxUtil.formatNumber(6)}, field:{name:'pur_say_price__say_price',type:'float'}},
	{col:{header:'技术要求', width:195, sortable:true, editable:true, hcss:'color:#3039b4;',
		editor:new Ext.form.TextField({
			maxLength:50
		})}, field:{name:'pur_say_price__tech_ask',type:'string'}},
	{col:{header:'评价结果(是否选中)', width:134, sortable:true, defaultval:'0', editable:true, hcss:'color:#3039b4;',
		editor:new Ext.form.Checkbox(),
		renderer:function(value) {
			return value=='1' ? jx.base.yes : jx.base.no;
		}}, field:{name:'pur_say_price__say_result',type:'string'}},
	{col:{header:'谈判记录ID', width:100, sortable:true, hidden:true}, field:{name:'pur_say_price__record_id',type:'string'}},
	{col:{header:'主键', width:100, sortable:true, hidden:true}, field:{name:'pur_say_price__price_id',type:'string'}},
	{col:{header:'供应商ID', width:100, sortable:true, hidden:true}, field:{name:'pur_say_price__provider_id',type:'string'}}
	];
	
	config.param = {
		cols: cols,
		sorts: null,
		hasQuery: '0',
		isedit: '1',
		isshow: '0',
		funid: 'pur_say_price'
	};
	
	
		
	return new Jxstar.GridNode(config);
}